<div ng-controller="main_index_table">
    <div ng-if="stateID!=''">
        <!-- <button type="button" class="btn btn-warning" ng-click="page.updateDatas()">批量修改</button> -->
        <div class="col-sm-6">
            <ul class="nav nav-tabs nav-justified ">
                <!--子菜单生成-->
                <li ng-repeat="ChildMenu in childMenus" ui-sref-active="active" ng-class="{true:'active'}[ChildId==null&&$index==0]"><a ui-sref="main.state({ChildID:ChildMenu.href})" ng-bind="ChildMenu.name"></a></li>
            </ul>
        </div>
        <!--表格-->
        <div ng-if="ChildId!=''" page-list page="page" allcheck="allcheck">
        </div>
    </div>
    <!--未选中左侧菜单时-->
    <div ng-if="stateID==''">没有数据</div>
</div>